{template "header.html"}
<section class="addon-detail-section">

    <div class="container" role="main">
        <div class="row">
            <div id="primary" class="col-md-8">
                <article>
                    <header class="entry-header">
                        <h1 class="entry-title">{$title} <small>{$version}</small>
                        </h1>
                    </header>


                    <h3>功能介绍</h3>

                    <div class="entry-content wysiwyg">

                        {$content}

                    </div>


                </article>
            </div><!-- #primary -->

            <aside id="secondary" class="col-md-4">

                <div class="panel panel-default panel-author">

                    <div class="panel-body">
                        <div class="media media-default">
                            <div class="media-left">
                                <a class="js-user-card">
                                    <span class="avatar-img"><img src="{dr_thumb($thumb)}"></span>
                                </a>
                            </div>
                            <div class="media-body">
                                <div class="title">
                                    {$title}
                                </div>
                                <div class="text-red">{$price}</div>
                                <div class="text-muted">{$updatetime}</div>
                            </div>
                        </div>
                        <p style="margin-top: 30px;display: none">
                            {if dr_is_down_shop($catid)}
                            <a href="/index.php?s=cloud&c=down&id={$id}" class="btn btn-lg btn-block btn-success btn-download">
                                <i class="fa fa-download"></i> 下载源码
                            </a>
                            <a href="/index.php?s=cloud&c=buy&id={$id}" class="btn btn-lg btn-block btn-danger btn-donate">
                                <i class="fa fa-money"></i> 购买源码
                            </a>
                            {else}
                            <a href="/index.php?s=cloud&c=buy&id={$id}" class="btn btn-lg btn-block btn-danger btn-donate">
                                <i class="fa fa-money"></i> 购买
                            </a>
                            {/if}
                        </p>
                    </div>
                </div>




            </aside>
        </div>
    </div>
</section>

{template "footer.html"}